home *** CD-ROM | disk | FTP | other *** search
- %case include%
- %if classname = CIntegerText%
- #include <CAMIntegerText.h>
- %else%
- #include "%classname%.h"
- %endif%
- %case classDecl%
- %if classname = CIntegerText%
- class CAMIntegerText;
- %else%
- class %classname%;
- %endif%
- %case instance%
- %if classname = CIntegerText%
- CAMIntegerText *%itemname%;
- %else%
- %classname%% %*%itemname%;
- %endif%
- %case create%
-
- %if classname = CIntegerText%
- %itemname% = new CAMIntegerText;
- %else%
- %itemname% = new %classname%;
- %endif%
- %itemname%->IViewRes ('%paneType%', %paneID%, %enclosure%, supervisor);
- %if defined itsPanorama%
- %set itsPanorama = itemname%
- %endif%
- %case ProviderChanged%
- %if window%
- %else%
- if (aProvider == %itemname%) {
- if (%itemname%->GetLength () == 0) {
- // text is empty
- } else {
- // there is some text
- }
- }
- %endif%
-